package com.zxc.shop.search.feign.api;

import com.zxc.shop.common.vo.GoodsVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "shop-goods", path = "/goods")
public interface GoodsService {

    // goods/getAll
    @GetMapping("/getAll")
    public List<GoodsVo> getAll();
}
